#pragma once
#include <vector>
#include "WaveInstrument.h"
#include "InstrumentFactory.h"
#include <map>
class CWaveInstrumentFactory :
	public CInstrumentFactory
{
public:
	CWaveInstrumentFactory(void);
	~CWaveInstrumentFactory(void);

	void SetNote(CNote *aNote);
	CWaveInstrument *CreateInstrument();
	bool LoadFile( const WCHAR *aFilename );

private:
	//std::vector<short> mWave;

	std::map< CString , std::vector<short> > mWaveMap;

	CString mNextFileName;
};

